package xl.com.model;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public
class XLFunction {

    private String type="function";
    private ToolFunction function;


    @Data
    public
    class ToolFunction{
        private String description;
        private Map<String, Object> parameters;
        private String name;
        public ToolFunction(String name, String description, Map<String, Object> parameters) {
            this.name = name;
            this.description = description;
            this.parameters = parameters;
        }
    }
}
